package com.example.service;

import java.util.List;
import java.util.Map;

import com.example.domain.Employment;
import com.example.result.Result;

/**
 * @author 袁小弘
 * @describe 就业登记服务层接口
 * @date 2020-01-01
 */
public interface EmploymentService {

    Result addEmployment(Employment employment);//添加就业登记信息

    Result updateEmployment(Employment employment);//更新就业登记信息

    Result deleteEmploymentById(String employmentId);//根据编号删除该就业登记信息

    Result queryAllEmployment();//查询所有就业登记信息

    Result queryEmploymentById(String employmentId);//根据编号查询该就业登记信息

    Result addEmploymentByExcel(List<Employment> list);//通过Excel批量添加就业登记信息

    Result deleteEmploymentByIds(Map<String, String> ids);//根据就业登记编号批量删除就业登记信息

    Result serachByInfo(String[] info);//就业登记信息模糊查询

    Result queryAllEmploymentAndUsersInfo();//查询所有就业登记和用户信息

}
